import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';

import { TestTableListComponent } from './list/test-table-list/test-table-list.component';
import { RuleAddComponent } from './list/test-rule-add/rule-add.component';
import { RuleDetailComponent } from './list/test-rule-detail/rule-detail.component';
import { AppInfoListComponent } from './list/app-info-list/app-info-list.component';
import { NzTableListComponent } from './list/nz-table-list/nz-table-list.component';


const routes: Routes = [
  {
    path: 'list',
    children: [
      { path: 'test-table-list', component: TestTableListComponent },
      { path: 'test-rule-add', component: RuleAddComponent },
      { path: 'test-rule-detail', component: RuleDetailComponent },
      { path: 'app-info-list', component: AppInfoListComponent },
      { path: 'nz-table-list', component: NzTableListComponent },
    ],
  }

];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule],
})
export class ProRoutingModule {}
